package cn.miao.middle.cloud.core.annotation;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * 非网关应用限流
 * 
 * @author kongyufei
 *
 */
@Retention(RUNTIME)
@Target(METHOD)
public @interface AccessLimit {
	int seconds();

	int maxCount();

	boolean needLogin() default true;
}
